import http from "../api/axiosFun.js"

function get_sys()
{
	let url = '/cms/sys/get'
	return http.get(url).then(res=>{
		return res
	})
}

function update(data)
{
	let url = '/cms/sys/update'
	return http.post(url,data).then(res=>{
		return res
	})
}

function insert(data)
{
	let url = '/cms/sys/insert'
	return http.post(url,data).then(res=>{
		return res
	})
}

export default{
	get_sys,
	update,
	insert
}